.pro-workspace-page {

  .pro-workspace-page-title {
    background-color: white;
    padding: 24px;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
  }

  .pro-workspace-page-user {
    background-color: white;
    display: flex;
    align-items: center;
    padding: 0 24px 24px 24px;
    box-shadow: @box-shadow;
    margin-bottom: 24px;

    .pro-workspace-page-user-placeholder {
      flex: 1;
    }

    & > img {
      width: 80px;
      height: 80px;
      border-radius: 80px;
    }

    .pro-workspace-page-user-detail {
      display: flex;
      flex-direction: column;
      padding-left: 24px;

      .pl-icon {
        margin-right: 8px;
      }

      & > div:first-child {
        margin-bottom: 12px;
        color: rgba(0, 0, 0, .85);
        font-weight: 500;
        font-size: 20px;
        line-height: 28px;
      }

      & > div:last-child {
        color: rgba(0, 0, 0, .45);
        line-height: 22px;
      }
    }

    .pro-workspace-page-user-achieve {
      display: flex;
      align-items: flex-start;

      & > div {
        margin-left: 24px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;

        & > div:first-child {
          font-size: 14px;
          color: rgba(black, 0.45);
          margin-bottom: 8px;
        }

        & > div:nth-child(2) {
          font-size: 20px;
          color: black;
        }

        &:not(:last-child) {
          margin-right: 24px;
          position: relative;

          &:after {
            position: absolute;
            right: -24px;
            top: 15%;
            bottom: 15%;
            width: 1px;
            background-color: rgba(black, 0.1);
            content: '';
          }
        }
      }
    }
  }

  .pro-workspace-page-card {
    box-shadow: @box-shadow;
    background-color: white;

    .pro-workspace-page-card-head {
      padding: 16px 24px;
      border-bottom: solid 1px @border-color;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
  }

  .pro-workspace-page-project-item {
    display: inline-flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    height: 200px;
    position: relative;
    margin-bottom: 2px;
    border-radius: 2px;
    overflow: hidden;
    padding-top: 20px;

    & > img {
      position: absolute;
      top: 0;
      left: 0;
      background-repeat: no-repeat;
      background-size: cover;
      display: block;
      height: 120%;
      -o-object-fit: cover;
      object-fit: cover;
      width: 100%;
    }

    &:before {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(130deg, rgb(84, 51, 255), rgb(24, 125, 139) 41.07%, rgb(186, 4, 116) 76.05%);
      z-index: 1;
      content: '';
      opacity: 0.3;
    }

    &:after {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: @cover;
      z-index: 3;
      content: '';
    }

    & > div {
      position: relative;
      z-index: 10;
      color: white;
    }

    .pro-workspace-page-project-item-tags {
      font-size: 12px;
      line-height: 2em;
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      text-align: right;
      padding: 0 24px 12px 0;

      & > span {
        margin-left: 8px;
        font-weight: 800;
        font-style: italic;

        &:before {
          content: '#';
          margin-right: 2px;
        }
      }
    }

    .pro-workspace-page-project-item-title {
      font-size: 16px;
      font-weight: 800;
      font-style: italic;
      line-height: 2em;
      text-align: center;
      letter-spacing: 2px;
    }

    .pro-workspace-page-project-item-desc {
      color: rgba(white, 0.8);
      padding: 0 24px;
      font-size: 13px;
      margin-top: 8px;
      line-height: 2em;
      letter-spacing: 1px;
    }
  }

  .pro-workspace-quick-link-list {
    .pl-col {
      border-bottom: solid 1px @border-color;

      &:nth-child(4n) {
        & > div:after {
          display: none;
        }
      }

      & > div {
        height: 80px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        transition: background-color linear 300ms;

        &:after {
          position: absolute;
          right: 0;
          top: 0;
          bottom: 0;
          width: 2px;
          background: @border-color;
          content: '';
          transform: translateX(-0.5px) scaleX(0.5);
        }

        &:hover {
          cursor: pointer;
          background-color: rgba(black, 0.05);
        }

        & > span {
          font-size: 13px;
          color: rgba(black, 0.85);
        }

        & > .pl-icon {
          font-size: 20px;
          margin-bottom: 4px;
          color: rgba(black, 0.65);
        }
      }
    }
  }

  .pro-workspace-custom-operator {
    margin-top: 24px;

    .pro-workspace-quick-link-item {
      height: 44px !important;
      font-size: 14px !important;;
    }
  }

  .pro-workspace-page-trends-item {
    display: flex;
    align-items: stretch;
    padding: 16px 24px 0 24px;

    .pro-workspace-page-trends-item-avatar {
      img {
        height: 40px;
        width: 40px;
        border-radius: 40px;
        overflow: hidden;
        object-fit: cover;
        object-position: center;
      }
    }

    .pro-workspace-page-trends-detail {
      margin-left: 24px;
      border-bottom: solid 1px @border-color;
      flex: 1;
      padding-bottom: 8px;

      & > div:first-child {
        font-size: 14px;
        color: rgba(black, 0.85);

        span.pro-workspace-page-trends-item-link {
          margin: 0 4px;

          &:first-child {
            margin-left: 0;
          }

          &:hover {
            text-decoration: underline;
            cursor: pointer;
          }
        }
      }

      & > div:last-child {
        font-size: 13px;
        color: rgba(black, 0.45);
        margin-top: 8px;
      }
    }
  }

  .pro-workspace-page-trends-more {
    text-align: center;
    padding: 16px 0;
  }

  .pro-workspace-todo-container {
    margin-top: 24px;
  }

  .pro-workspace-my-team {
    margin-top: 24px;

    .pro-workspace-my-team-item {
      display: inline-flex;
      width: 100%;
      align-items: center;
      padding: 16px 24px;
      border-bottom: solid 1px @border-color;

      img {
        height: 50px;
        width: 50px;
        border-radius: 50px;
        cursor: pointer;
      }

      & > div {
        margin-left: 24px;

        & > div:last-child {
          font-size: 14px;
          color: rgba(black, 0.45);
          margin-top: 4px;
        }
      }
    }
  }
}